<div class="blade-content __medium-wide" id="blade-content">
  <div class="blade-inner">
    <div class="inner-block">
      <div class="table-wrapper">
        <table class="table">
          <thead>
          <tr>
            <th class="table-col">
              <label class="form-control __checkbox">
                <input (click)="onAllCheack($event.target)" #allCheckRef name="allCheck" id="allCheck" type="checkbox">
                <span class="check"></span>
              </label>
            </th>
            <th class="table-col">序号</th>
            <th class="table-col">名称</th>
            <th class="table-col">描述</th>
            <th class="table-col">编码</th>
            <th class="table-col">级别</th>
            <th class="table-col">排序</th>
          </tr>
          </thead>
          <tbody>
          <tr class="table-item __selected" *ngFor="let item of moduleList let i =index "
              [ngClass]="{'__selected': currentEntity?.id == item.id}">
            <td class="table-col __product-control">
              <label class="form-control __checkbox">
                <input type="checkbox" name="itemCheck" (click)="onItemCheack($event.target,item)"
                       [checked]="allCheckRef.checked">
                <span class="check"></span>
              </label>
            </td>
            <td class="table-col __product-name" (click)="onSeletedChange(item)">
              {{ i+1 }}
            </td>
            <td class="table-col __product-name" (click)="onSeletedChange(item)">
              {{item.name}}
            </td>
            <td class="table-col __product-name" (click)="onSeletedChange(item)">
              {{item.descs}}
            </td>
            <td class="table-col __product-name" (click)="onSeletedChange(item)">
              {{item.code}}
            </td>
            <td class="table-col __product-code" (click)="onSeletedChange(item)">
              {{item.level}}
            </td>
            <td class="table-col __product-code" (click)="onSeletedChange(item)">
              {{item.seq}}
            </td>
          </tr>
          </tbody>
        </table>
      </div>
    </div>
  </div>
</div>
